using System;
using System.Collections.Generic;
using System.Text;

using phorm.utils;

namespace phorm.application
{
    /// <summary>
    /// Class of static methods for working for MSSQL database.
    /// </summary>
    public class ApplicationMSSQL
    {
        /// <summary>
        /// Setup the database and tables.
        /// </summary>
        public static void setup()
	    {
		    MSSQLUtils.createDatabase();
		    MSSQLUtils.createTables();
	    }

        /// <summary>
        /// Empty all tables in the Model.
        /// </summary>
        public static void emptyTables()
	    {
		    MSSQLUtils.emptyTables();
	    }

        /// <summary>
        /// Drop all tables in the Model.
        /// </summary>
        public static void dropTables()
	    {
		    MSSQLUtils.dropTables();
	    }
    }
}
